<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/system/layui/css/layui.css" media="all">
</head>
<body>
<br>
<form class="layui-form" method="post">
    <input type="hidden" id="val1" name="id" th:value="${id}"/>
    <div class="layui-form-item layui-row layui-col-xs12" width="200px">
        <label class="layui-form-label" style="background-color: #009688;color: #F8F8F8;width: 60px;">父级字典</label>
        <div class="layui-input-block">
            <select id="pid" name="parentId" lay-filter="parentId" >
                <option value="">设为父级菜单</option >
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="background-color: #009688;color: #F8F8F8;width: 60px;">字典名称</label>
        <div class="layui-input-block" style="width: 200px;">
            <input type="text" name="name" id="val3" autocomplete="off" class="layui-input" placeholder="字典名称 ">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="background-color: #009688;color: #F8F8F8;width: 60px;">方法标识</label>
        <div class="layui-input-inline">
            <input type="text" name="mark" id="val4" lay-verify="title" autocomplete="off" class="layui-input" placeholder="方法标识">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="background-color: #009688;color: #F8F8F8;width: 60px;">描述</label>
        <div class="layui-input-block" style="width: 200px;">
            <input type="text" name="describe" id="val5" lay-verify="title" autocomplete="off" class="layui-input" placeholder="请输入字典描述">
        </div>
    </div>
    <button type="submit" onclick="sub()" class="layui-btn layui-btn-warm" style="position: absolute; left: 5%;">修改</button>
</form>
</body>
<script src="/system/layui/layui.js"></script>
<script type="text/javascript" src="/system/js/jquery-3.3.1.js"></script>
<script type="text/javascript" src="/sysDictInfo/updateDict.js"></script>
</html>